package com.ssy.lingxi.member.merchant.model.vo.basic.request;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 手机号码作为接口参数VO
 * @author 万宁
 * @version 2.0.0
 * @date 2020-09-09
 */
public class PhoneVO implements Serializable {
    private static final long serialVersionUID = 6152163064444887376L;

    /**
     * 国家代码（手机号码前缀）
     */
    @NotBlank(message = "国家代码不能为空")
    private String countryCode;

    /**
     * 手机号码
     */
    @NotNull(message = "手机号码不能为空")
    private String phone;

    public String getCountryCode() {
        return countryCode;
    }

    public void setCountryCode(String countryCode) {
        this.countryCode = countryCode;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }
}
